[#import "/manage/util/dash.html" as h/]
[@h.head/]
[@h.maincss /]
[@h.fooTableCss /]
[@h.body /]
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    [@h.breadcrumb navigation='{"title":"系统用户管理", "active":true}' title="系统用户管理" /]
                    <div class="ibox-tools">
                        <a class="collapse-link">
                            <i class="fa fa-chevron-up"></i>
                        </a>
                    </div>
                </div>
                <div class="ibox-content">
                    <form action="">
                        <div class="col-sm-3">
                            <div class="input-group m-b">
                                <span class="input-group-addon">姓名:</span>
                                <input id="name" name="name" class="form-control input-sm inline"
                                       value="${commond.name}" placeholder="姓名">
                            </div>
                        </div>

                        <div class="col-sm-3">
                            <div class="input-group m-b">
                                <span class="input-group-addon">手机号:</span>
                                <input id="phone" name="phone" class="form-control input-sm inline"
                                       value="${commond.phone}" placeholder="手机号">
                            </div>
                        </div>

                        <div class="col-sm-3">
                            <div class="input-group m-b">
                                <span class="input-group-addon">角色:</span>
                                <select name="roleCode" id="roleCode" class="form-control">
                                    <option value="">全部</option>
                                    [#list roleList as role]
                                    <option value="${role.code}">${role.name}</option>
                                    [/#list]
                                </select>
                            </div>
                        </div>

                        <div class="col-sm-3">
                            <div class="input-group m-b">
                                <span class="input-group-addon">用户状态:</span>
                                <select name="state" id="state" class="form-control">
                                    <option value="">全部</option>
                                    <option value="1">正常</option>
                                    <option value="2">作废</option>
                                </select>
                            </div>
                        </div>

                        <div class="col-sm-2">
                            <div class="form-group">
                                <div class="row">
                                    <div class="col-sm-4">
                                        <a id="btn_search_goods" class="btn btn-primary btn-sm"
                                           onclick="Page.prototype.seturlnew(this,0,'div_table_container');">查 询</a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div id="div_table_container" url="${request.contextPath}/manage/resource/admintable"></div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
[@h.mainjs /]
[@h.modalBox id='modal-adminmain-form' /]
[@h.fooTableScript /]
[@h.pageScript /]
[@h.icheckScript /]
[@h.formValidationScript /]
[@h.sweetalert /]
[@h.ladda /]
<script>
    $(function () {
        $.get("${request.contextPath}/manage/resource/admintable", function (data) {
            $("#div_table_container").html(data);
        });
    });
</script>
</body>
</html>